home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / archer < prev    next >
Internet Message Format  |  1995-03-31  |  4KB

  1. From en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!zaphod.mps.ohio-state.edu!caen!vette.engin.umich.edu!foucher 21 Feb 91 00:55:42 GMT
  2. Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!zaphod.mps.ohio-state.edu!caen!vette.engin.umich.edu!foucher
  3. From: foucher@caen.engin.umich.edu (Bradley S Foucher)
  4. Newsgroups: comp.sys.handhelds
  5. Subject: Archiving Libraries to PC: ARCHER
  6. Keywords: HP48SX, Archiving, ARCHER
  7. Message-ID: <1991Feb21.005542.3955@engin.umich.edu>
  8. Date: 21 Feb 91 00:55:42 GMT
  9. Sender: news@engin.umich.edu (CAEN Netnews)
  10. Organization: The University of Michigan, Ann Arbor
  11. Lines: 74
  12.  
  13. Greetings,
  14.  
  15.     A few weeks ago, someone posted a question as to whether or not 
  16. libraries could be archived to a PC when ARCHIVE was used.  Obviously, 
  17. ARCHIVE doesn't do this.  This program, called ARCHER, does.  It requires
  18. a list of libraries (to be described in more detail later) and recalls them,
  19. then stores them in a list before archiving.  The accompanying program, 
  20. RESTARC, which is run after RESTORE'ing the Backup HOMEDIR, unpacks the 
  21. libraries and STO's them where they were when you ARCHER'd.  You are then
  22. instructed to turn off and then turn on you calculator to install the libraries.NOTE: Apparently, not all libraries install themselves when you turn the calc
  23. off, then turn it back on.  These libraries will have to be ATTACHED.  This
  24. program does not do this, but can be modified to do so.
  25.     In order for this program to work, you must create a list of your
  26. libraries with the name 'LIBSLIST' in the following format:
  27. { (:port#:library#)1 (:port#:library#)2 ... (:port#:library#)n }
  28. An example 'LIBSLIST' is included in the directory at the end of this post.
  29. It contains the correct sequence for Eric Bryntses Gateway and Bill Wickes'
  30. Strange Case 998 libraries.  You can either use this list (which will work 
  31. correctly for you only if you have those two libraries) or you can make your
  32. own.
  33.     The ARCHER program recalls your libraries and stores them in a list
  34. called 'LIBSTO', then executes ARCHIVE.  Before you execute ARCHER, you should
  35. have your computer ready to receive the file.  After the ARCHIVE is done, it 
  36. erases 'LIBSTO' - you don't need it anymore.  I've set the name of the target
  37. file on the PC to ARCMEM, but you can change this too.
  38.     When you need to restore your memory, simply download the file ARCMEM
  39. (or whatever you've named it) and type RESTORE, like normal.  The REST
  40. directory will appear with the rest of your files.  Select that directory, 
  41. then press the 'RESTARC' menu key.  The 'LIBSTO' file, which was created by
  42. ARCHER, will be used and PURGE'd.  You will then be instructed to turn your
  43. calc off, then on again.  You may have to attach some libraries by hand or 
  44. alter 'RESTARC' so it will.
  45.     If you have any questions, feel free to email me...
  46.  
  47.     Save the following under 'REST' and download to your calc...
  48.  
  49. %%HP: T(3)A(D)F(.);
  50. DIR
  51.   RESTARC
  52.     \<< 1 LIBSTO 1
  53. GET
  54.       FOR L LIBSTO
  55. L 2 * 1 + GET
  56. LIBSTO L 2 * GET
  57. STO
  58.       NEXT 'LIBSTO'
  59. PURGE
  60. "TURN CALC OFF"
  61. "THEN BACK ON"
  62. "TO INSTALL LIBRARIES"
  63.     \>>
  64.   ARCHER
  65.     \<< -40 CF
  66. LIBSLIST SIZE \-> siz
  67.       \<< siz 1 siz
  68.         FOR L
  69. LIBSLIST L GET DUP
  70. OBJ\-> SWAP DROP STR\->
  71. SWAP RCL
  72.         NEXT siz 2
  73. * 1 + \->LIST
  74. 'LIBSTO' STO
  75.       \>> :IO: ARCMEM          @ Target file for PC...
  76. ARCHIVE                   @ You can change this if you like
  77. 'LIBSTO' PURGE
  78.     \>>
  79.   LIBSLIST { :0:               @ Example LIBSLIST - you may need to 
  80. 873 :0: 998 }                  @ alter this to match you configuration
  81. END                            @ of libraries
  82.  
  83. Brad Foucher
  84. The University of Michigan
  85. Nuclear Engineering Dept.
  86. foucher@caen.engin.umich.edu
  87.  
  88.